package com.woniu.car.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 
 * </p>
 *
 * @author *********
 * @since 2021-06-21
 */
@Data
public class OrderDetailParam {

    @NotNull(message = "服务ID不能为空")
    @Min(value = 1, message = "服务ID有误")
    @ApiModelProperty(value = "服务ID",example = "1")
    private Integer serverId;

    @NotNull(message = "数量不能为空")
    @ApiModelProperty(value = "数量",example = "1")
    private Integer number;

    @ApiModelProperty(value = "优惠券ID",example = "1")
    private Integer couponsId;




}
